package com.example.demo.bizhan.anotation;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: xxx
 * @time: 2020/10/27 14:49
 * @author: baojinlong
 **/
@PkBean(table = "t_animal", from = "michael PK")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Animal {
    private Integer id;
    private String name;
    @PkField("gender")
    private String sex;

}
